package com.sunday.aomicaichang.model;

import java.util.List;

/**
 * Created by yun_sheng on 2017/6/4.
 */

public class Find {

    /**
     * advertisements : [{"id":12,"createTime":"2017-06-02 16:27:47","createDate":"2017-06-02","name":"发现-轮播1","viceName":"发现-轮播1","image":"http://image.51huaguoshan.com/upload/2017/6/af5c7e7a-d930-455b-9d5e-a014d780318a.jpg","pageType":0,"pageId":0,"url":"http://mobile.51huaguoshan.com/sunday/mobile/advertisement/html5?id=12","info":"转跳信息说明。pageType为0，打开Url；pageType为1，打开商品详情，pageId为商品ID；pageType=2,打开商品列表，pageId为商品分类ID；pageType=3,打开商户详情（暂无），pageId为商户ID"},{"id":13,"createTime":"2017-06-02 16:28:28","createDate":"2017-06-02","name":"发现-轮播2","viceName":"发现-轮播2","image":"http://image.51huaguoshan.com/upload/2017/6/7f1cf949-82f4-47b2-ac0e-8e9255d7b222.jpg","pageType":0,"pageId":0,"url":"http://mobile.51huaguoshan.com/sunday/mobile/advertisement/html5?id=13","info":"转跳信息说明。pageType为0，打开Url；pageType为1，打开商品详情，pageId为商品ID；pageType=2,打开商品列表，pageId为商品分类ID；pageType=3,打开商户详情（暂无），pageId为商户ID"}]
     * zoneKey : fanxian_roll
     */

    private String zoneKey;
    private int type;
    private List<AdvertisementsBean> advertisements;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getZoneKey() {
        return zoneKey;
    }

    public void setZoneKey(String zoneKey) {
        this.zoneKey = zoneKey;
    }

    public List<AdvertisementsBean> getAdvertisements() {
        return advertisements;
    }

    public void setAdvertisements(List<AdvertisementsBean> advertisements) {
        this.advertisements = advertisements;
    }

    public static class AdvertisementsBean {
        /**
         * id : 12
         * createTime : 2017-06-02 16:27:47
         * createDate : 2017-06-02
         * name : 发现-轮播1
         * viceName : 发现-轮播1
         * image : http://image.51huaguoshan.com/upload/2017/6/af5c7e7a-d930-455b-9d5e-a014d780318a.jpg
         * pageType : 0
         * pageId : 0
         * url : http://mobile.51huaguoshan.com/sunday/mobile/advertisement/html5?id=12
         * info : 转跳信息说明。pageType为0，打开Url；pageType为1，打开商品详情，pageId为商品ID；pageType=2,打开商品列表，pageId为商品分类ID；pageType=3,打开商户详情（暂无），pageId为商户ID
         */

        private long id;
        private String createTime;
        private String createDate;
        private String name;
        private String viceName;
        private String image;
        private int pageType;
        private int pageId;
        private String url;
        private String info;

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getViceName() {
            return viceName;
        }

        public void setViceName(String viceName) {
            this.viceName = viceName;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public int getPageType() {
            return pageType;
        }

        public void setPageType(int pageType) {
            this.pageType = pageType;
        }

        public int getPageId() {
            return pageId;
        }

        public void setPageId(int pageId) {
            this.pageId = pageId;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getInfo() {
            return info;
        }

        public void setInfo(String info) {
            this.info = info;
        }
    }
}
